package com.wendjia.demo.controller;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Created by wendjia on 2017/3/10.
 */
@Controller
@EnableAutoConfiguration
public class TemplateController {
    @RequestMapping("/index")
    public String index(Map<String,Object> map){
        return "/index";
    }
    @RequestMapping("/index2")
    public String index2(Map<String,Object> map){
        return "/index2";
    }
}
